package cn.rongdao.jrkabao.ui.deposit.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerAdapter;
import com.mifengkong.frtools.inputmethod.FRView;

import cn.rongdao.jrkabao.R;
import cn.rongdao.jrkabao.bean.deposit.IncomeAndExpenditureBean;

/**
 * Created by jack on 2017/7/27
 */

public class IncomeAndExpenditureAdapter extends FRBaseRecyclerAdapter<IncomeAndExpenditureBean, IncomeAndExpenditureViewHolder> {

    public IncomeAndExpenditureAdapter(Context context) {
        super(context);
    }

    @Override
    public IncomeAndExpenditureViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new IncomeAndExpenditureViewHolder(FRView.inflateLayout(getContext(), R.layout.item_income_and_expenditure, parent, false));
    }
}
